package com.bdqn.membersystem.pojo;

import java.io.Serializable;

public class GoodsPackAffiliated implements Serializable {
    /**
    * 主键id
    */
    private Long id;

    /**
    * 商品套餐主表id
    */
    private Long goodsPackId;

    /**
    * 商品id
    */
    private Long goodsInfoId;

    /**
    * 商品数量
    */
    private Integer goodsNum;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGoodsPackId() {
        return goodsPackId;
    }

    public void setGoodsPackId(Long goodsPackId) {
        this.goodsPackId = goodsPackId;
    }

    public Long getGoodsInfoId() {
        return goodsInfoId;
    }

    public void setGoodsInfoId(Long goodsInfoId) {
        this.goodsInfoId = goodsInfoId;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", goodsPackId=").append(goodsPackId);
        sb.append(", goodsInfoId=").append(goodsInfoId);
        sb.append(", goodsNum=").append(goodsNum);
        sb.append("]");
        return sb.toString();
    }
}